home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / Confidential ƒ / About Confidential… next >
Encoding:
Text File  |  1995-04-10  |  1019 b   |  17 lines  |  [ttro/ttxt]

  1. About Confidential…
  2.  
  3. "Confidential" is a printing extension which grabs the page shape as it's being spooled to disk (in GXSpoolPage) and adds a stamp diagonally across, and beneath, the other shapes on the page.  The text for the message is set by the user via a panel in the print dialog.
  4.  
  5. This extension does not work well with applications which use TextEdit to print.  Before TextEdit draws, it erases.  To the QuickDraw GX translation routines, this erasure appears to be a deliberately painted white rectangle, so they add it to the page shape.  Any background is overwritten by these white rectangles.  For one workaround to this problem, see the printing extension "Backwash" elsewhere on this CD.
  6.  
  7. This extension shows:
  8.  
  9. • How to write an extension which installs a panel, handles panel events, and uses the way-cool ‘xdtl’ resources.
  10.  
  11. • How to write a simple override to modify a document's pages as they are being spooled to disk during printing.
  12.  
  13. Dave Hersey
  14. Apple Developer Technical Support
  15.  
  16. 7/14/94
  17. v1.0